package com.wwj.service;

import com.wwj.dao.UserDao;
import com.wwj.dao.UserDaolmpl;

public class UserServiceImpl  implements UserService{
    private UserDao userDao;

    //使用set方法动态实现
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void getUser() {
        userDao.getUser();
    }
}
